systemd.services.<name>.confinement.binSh
The program to make available as /bin/sh inside
the chroot. If this is set to null, no
/bin/sh is provided at all.
This is useful for some applications, which for example use the system(3) library function to execute commands.
- Type
null or absolute path- Default
config.environment.binsh- Example
"${pkgs.dash}/bin/dash"- Declared
- <nixpkgs/nixos/modules/security/systemd-confinement.nix>